WPForms\Integrations\Stripe\Helpers A

Total Complexity 57
Dependencies 1
Dependents 33
Total lines 489
Lines of code 152
Logical lines of code 67
Comment lines 250
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
get_stripe_key()
S
61 4 11
is_legacy_payment_settings()
S
63 4 11
is_license_active()
S
67 4 7
has_stripe_enabled()
S
67 3 8
validate_stripe_mode()
S
70 3 6
get_webhook_url()
S
67 3 9
get_field_slug()
S
78 2 3
is_form_supports_multiple_recurring_plans()
S
76 2 3
get_decimals_amount()
S
69 2 6
is_payments_enabled()
S
76 2 3
has_stripe_field()
S
68 2 7
is_modern_settings_enabled()
S
76 2 3
is_license_ok()
S
79 2 3
is_pro()
S
79 2 3
set_stripe_key()
S
62 2 10
get_stripe_mode()
S
78 2 3
has_stripe_keys()
S
73 2 4
is_webhook_configured()
S
74 2 4
is_rest_api_set()
S
78 1 3
is_link_supported()
S
77 1 3
is_application_fee_supported()
S
77 1 3
is_webhook_enabled()
S
80 1 3
get_webhook_url_for_curl()
S
77 1 3
get_webhook_url_for_rest()
S
65 1 10
get_webhook_endpoint_data()
S
69 1 7
is_payment_element_enabled()
S
79 1 3
get_auth_opts()
S
78 1 3
is_addon_active()
S
80 1 3
is_allowed_license_type()
S
77 1 3
get_account_country()
S
74 1 4